package com.wmlt.service;

import com.wmlt.entity.Message;

import java.util.List;

public interface MessageService {
    /**
     * @description: 发送消息
     * @param:
     * @return:
     * @author liyuxiang
     * @date: 2021/4/10 11:54 上午
     */
    public int sendMessage(Message message);
    /**
     * @description: 获取消息列表
     * @param:
     * @return:
     * @author liyuxiang
     * @date: 2021/4/10 2:45 下午
     */
    public List<Message> getMessageListByUserId(String senderUserId,String addresseeUserId);
    public List<Message> getMessageRecord(String senderUserId,String addresseeUserId);
}
